/**
 * 
 */
package com.xbang.attendance.web.action.delivery.deliverydetail;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;

import com.xbang.attendance.service.ProductService;
import com.demo2do.lighturl.annotation.Action;
import com.xbang.core.struts.support.BaseActionSupport;

/**
 * @author dev.zhang
 * 
 */
public class Search extends BaseActionSupport {

	private static final Log logger = LogFactory.getLog(Search.class);

	private static final long serialVersionUID = -1120551442020217513L;
	@Autowired
	private ProductService productService;

	@Override
	public String execute() throws Exception {
		logger.info("call default method - execute()");
		return "success";
	}

	
	/**
	 * @return
	 * @throws Exception
	 */
	@Action("/delivery/details/search/do")
	public String doSearch() throws Exception {
		logger.info("call search method by product ");
		return "detail-list";
	}
}
